package cc.lj.internal.mobilepay.domain.model.vo.convert;

import cc.lj.internal.mobilepay.domain.model.vo.CiticLogDO;
import cc.lj.internal.mobilepay.infrastructure.po.CiticLogPO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 中信请求响应日志表PO 与 DO之间的转换
 * @author liangxifeng
 * @date 2022-11-20
 */
@Mapper
public interface CiticLogPOConvertDO {
    CiticLogPOConvertDO INSTANCE = Mappers.getMapper(CiticLogPOConvertDO.class);
    //do to po
    CiticLogPO convert(CiticLogDO entityDO);

    //po to do
    CiticLogDO convert(CiticLogPO entityPO);
}
